<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.prime.com.tr/ui">

<h:head>
	<title><h:outputText value="#{msgs.titulo_pagina_inicial}"/></title>
</h:head>
<h:body class="corpo">
	<h:outputStylesheet library="css" name="default.css" />
	
	<p:growl id="alertaMensagem" life="3000" />

	<p:layout fullPage="true">
		<p:layoutUnit position="top" height="100">
			<h:form>
				<h:panelGrid>
					SLIC - Confidence
					
					<f:facet name="footer">
						Usuário Logado: <h:outputText value="#{loginBean.usuarioSistema.nome}" /> | <p:commandLink value="Sair" action="#{loginBean.sair}" />
					</f:facet>
				</h:panelGrid>
			</h:form>
		</p:layoutUnit>
		<p:layoutUnit position="left" header="#{msgs.titulo_menu}" resizable="true" collapsible="true" width="250" minSize="200" scrollable="true">
			<p:menu style="width:90%; border:0px; font-size: 12px;" model="#{navegacaoBean.menu}" />
		</p:layoutUnit>
		<p:layoutUnit position="center" header="#{tituloConteudo}" scrollable="true">
			<ui:insert name="conteudo">Conteudo da Pagina</ui:insert>
		</p:layoutUnit>
	</p:layout>
	
	<p:dialog id="modalFormulario" header="#{msgs.dialog_alterar_inserir_registro}" widgetVar="modalFrm" closable="true" modal="true" width="#{larguraModal}" height="#{alturaModal}">
		<ui:insert name="modal">Conteudo Modal</ui:insert>
	</p:dialog>	
</h:body>	
</html>